﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Composite.Modularity;
using Microsoft.Practices.Composite.Regions;
using MyPrism.Employees.Views;

namespace MyPrism.Employees
{
    public class EmployeesModule : IModule
    {
        private IRegionManager regionManager;
        public EmployeesModule(IRegionManager regionManager)
        {
            this.regionManager = regionManager;
        }

        #region IModule Members

        public void Initialize()
        {
            this.regionManager.RegisterViewWithRegion("MainContentRegion", typeof(MainContentView));
        }

        #endregion
    }
}
